package example1;

public class HelloSpeaker2 {
	public void hello(String name) {
		System.out.println("hello method starts…"); // 日志服务

		System.out.println("hello," + name);

		System.out.println("hello method ends…"); // 日志服务
	}
	
	public void hello2(String name) {
		System.out.println("hello2 method starts…"); // 日志服务

		System.out.println("hello2," + name);

		System.out.println("hello2 method ends…"); // 日志服务
	}
	
	public void hello3(String name) {
		System.out.println("hello3 method starts…"); // 日志服务

		System.out.println("hello3," + name);

		System.out.println("hello3 method ends…"); // 日志服务
	}

	public static void main(String[] args) {
		HelloSpeaker2 helloSpeaker = new HelloSpeaker2();
		helloSpeaker.hello("zhangsan");
		helloSpeaker.hello2("lisi");
		helloSpeaker.hello3("wangwu");
	}
}
